/**
 * @author liuxin
 * @e-mail lxtobe5@gmail.com
 * @lasttime 2011 11.03
 * @langversion ActionScript 3.0
 * @playerversion Flash 9.0 - 11.0
 * @tiptext
 */
package SpeedCompare_sample.Array_search
{
	import SpeedCompare_sample.Common;
	
	public class Array_search_for extends Common
	{
		public function Array_search_for()
		{
			var a:Array = getArray();
			
			setOldTime();
			
			for (var i:uint = 0; i < a.length; i++) 
			{
				if(a[i] == numbers - 1)
				{
					getExecuteTime();
					getSystemInfo();
				}
			}
		}
	}
}
/*
execute time: 293ms
System.freeMemory: 2269184
System.totalMemory: 7651328
System.totalMemoryNumber: 7651328

execute time: 280ms
System.freeMemory: 2269184
System.totalMemory: 7647232
System.totalMemoryNumber: 7647232
*/